package com.ruoyi.system.domain.reseller;

import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.common.core.domain.model.VsUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 用户分销信息对象 vs_dramas_reseller_bind
 * 
 * @author zzx
 * @date 2024-04-30
 */
public class VsDramasResellerBind extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long siteId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 分销等级ID */
    @Excel(name = "分销等级ID")
    private Long resellerId;

    /** 分销等级 */
    @Excel(name = "分销等级")
    private Long level;

    /** 分销参数 */
    @Excel(name = "分销参数")
    private String resellerJson;

    /** 过期时间 */
    @Excel(name = "过期时间")
    private Long expiretime;

    private Long createtime;

    private Long updatetime;

    private VsUser user;

    private BigDecimal resellerMoney;

    private JSONObject resellerJsonObject;

    public JSONObject getResellerJsonObject() {
        return resellerJsonObject;
    }

    public void setResellerJsonObject(JSONObject resellerJsonObject) {
        this.resellerJsonObject = resellerJsonObject;
    }

    public BigDecimal getResellerMoney() {
        return resellerMoney;
    }

    public void setResellerMoney(BigDecimal resellerMoney) {
        this.resellerMoney = resellerMoney;
    }

    public VsUser getUser() {
        return user;
    }

    public void setUser(VsUser user) {
        this.user = user;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setResellerId(Long resellerId) 
    {
        this.resellerId = resellerId;
    }

    public Long getResellerId() 
    {
        return resellerId;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setResellerJson(String resellerJson) 
    {
        this.resellerJson = resellerJson;
    }

    public String getResellerJson() 
    {
        return resellerJson;
    }
    public void setExpiretime(Long expiretime) 
    {
        this.expiretime = expiretime;
    }

    public Long getExpiretime() 
    {
        return expiretime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("siteId", getSiteId())
            .append("userId", getUserId())
            .append("resellerId", getResellerId())
            .append("level", getLevel())
            .append("resellerJson", getResellerJson())
            .append("expiretime", getExpiretime())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .toString();
    }
}
